package com.lengchangjing.StructuralPatterns.DecoratorPattern;

public class Decorator implements Component {

    Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void operator() {
        component.operator();
    }
}
